import {
  legacy_createStore as createStore,
  applyMiddleware,
  combineReducers
} from 'redux'
import thunk from 'redux-thunk'
import logger from 'redux-logger'
import reducer from './reducer/reducer'
const Allreducer = combineReducers({
  reducer
})
export default createStore(Allreducer, applyMiddleware(thunk, logger))
